home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Unofficial Addons & Patches / Worms - Custom Levels (1995)(Various)[h RamKids].zip / Worms - Custom Levels (1995)(Various)[h RamKids].adf / Installer < prev    next >
AmigaDOS Script File  |  1995-08-19  |  675b  |  33 lines

  1. .key test/s,full/s
  2. .bra [
  3. .ket ]
  4.  
  5. echo "*Ec*N There is 39 Custom Maps in this archive and it unpacks to 1.4Meg.*N"
  6.  
  7. lab nameloop
  8.   echo "Which partition is Worms installed on ? (eg DH0: Work:) " noline
  9.   set >NIL: target ?
  10.   if "$target" EQ "Q"
  11.       skip exit
  12.   endif
  13.  
  14.   if "`echo $target len 1`" NOT EQ ":"
  15.     set target $target:
  16.   endif
  17.  
  18.   assign >NIL: exists "${Target}"
  19.   if warn
  20.     echo "Error: partition does not exist.*N"
  21.     skip back nameloop
  22.   endif
  23.  
  24. lab partok
  25.  
  26. assign Target: "${Target}"
  27. c:cls
  28. c:copy Worms-Custom-Levels:Lha ram:
  29. ram:Lha x  Worms-Custom-Levels:Worms target:
  30. echo "please wait..........."
  31. lab disk?
  32. cls
  33. c:echo "*n*n All done now please reboot!"